package io.gitee.yxsnake.embark.web.core.enums;

import io.gitee.yxsnake.embark.web.core.base.IBaseEnum;

/**
 * @author: snake
 * @create-time: 2024-09-29
 * @description: 登录方式枚举
 * @version: 1.0
 */
public enum LoginWayEnum implements IBaseEnum<Integer> {
    ACCOUNT_PWD(1,"账号密码"),

    SMS_verification_code(2,"短信验证码"),

    WECHAT_SCAN_CODE(3,"微信扫码"),

    APP_SCAN_CODE(4,"APP 扫码"),

    AUTH_COE(5,"第三方授权码")
    ;
    private final Integer value;

    private final String label;

    LoginWayEnum(final Integer value,final String label){
        this.value = value;
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getLabel() {
        return this.label;
    }
}
